package com.hoshiicloud.saleorder.param.refund;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author qry
 * @Date 14:09 2019/8/28
 **/
@Data
@ApiModel("退款订单提交入参")
public class RefundOrderApplyParam implements Serializable {

    @ApiModelProperty(value = "子订单Id")
    @NotNull(message = "子订单Id")
    private Long orderInfoId;

    @ApiModelProperty(value = "申请数量")
    @NotNull(message = "申请数量不能为空")
    private Long applyQtys;

    @ApiModelProperty(value = "服务类型 1-仅退款 2-退货退款")
    @NotNull(message = "服务类型不能为空")
    private Integer serviceType;

    /*@ApiModelProperty(value = "退款类型 1-售中 2-售后")
    @NotNull(message = "退款类型")
    private Integer refundType;*/

    @ApiModelProperty(value = "退款原因")
    @NotBlank(message = "退款原因不能为空")
    private String reasons;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "图片1")
    private String image1;

    @ApiModelProperty(value = "图片2")
    private String image2;

    @ApiModelProperty(value = "图片3")
    private String image3;

    @ApiModelProperty(value = "图片4")
    private String image4;


}
